Total Complexity | 37 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 449 |
Lines of code | 178 |
Logical lines of code | 90 |
Comment lines | 175 |
Methods | 13 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybe_sync_product_set() | 40 | 6 | 66 | |
maybe_sync_product_sets() | 59 | 6 | 15 | |
check_product_data_after_save() | 60 | 4 | 13 | |
check_product_data_before_save() | 67 | 3 | 7 | |
fb_product_set_hook_after() | 67 | 3 | 7 | |
maybe_sync_product_set_on_product_cat_remove() | 66 | 3 | 9 | |
sync_remove_product_set() | 64 | 3 | 10 | |
get_all_diff() | 66 | 3 | 7 | |
sync_product_product_sets() | 66 | 2 | 8 | |
get_product_cat_sets() | 59 | 1 | 15 | |
add_hooks() | 60 | 1 | 13 | |
__construct() | 76 | 1 | 4 | |
fb_product_set_hook_before() | 74 | 1 | 4 |